package com.credithc.signature.common.ro.manager;

import com.credithc.signature.common.annotation.StartTime;
import com.credithc.signature.common.constant.FacadeConstant;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Builder;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.util.Date;

/**
 * @desc: <br/>
 * @author: Jingbo Hu<br/>
 * @time：2021年06⽉29⽇<br/>
 * @version：v1.0.0<br>
 */
@Data
public class JobRequestRo {

    String requestSn;
    String templateNo;
    String channelNo;

    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8", locale = "zh")
    @StartTime
    Date createTime;

    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8", locale = "zh")
    @StartTime
    Date updateTime;

    Date startTime;
    Date endTime;

    @Builder.Default
    Integer queryPageNo = 0;
    Integer pageNo;
    Integer pageSize;

    Integer signStatus;

    private Boolean needSign;
    private String callBackUrl;
    private String requestData;
    private Integer paramsId;
    private Integer vip;
}
